<?php
namespace app\wap\controller;

use think\Controller;

class Login extends  Controller
{

    //会员登录
    public  function index(){
        return  $this->fetch();
     }
     //会员登录操作
    public function bin(){
        $json['state'] = 1;


        echo  json_encode($json); exit();

    }




     //找回密码
    public  function getpwd(){
        $type = $this->request->param('type');
        $step = $this->request->param('step');
        if($type=='aq'&&!$step){
            return  $this->fetch('getpwdaq');
        }
        if($type=='aq'&&$step==1){
            return  $this->fetch('getpwdaqstep1');
        }
        if($type=='aq'&&$step==2){
            return  $this->fetch('getpwdaqstep2');
        }
        if($type=='other'){
            return  $this->fetch('getpwdother');
        }
        return  $this->fetch();
    }



    //找回密码
    public  function getpwdaq(){
        return  $this->fetch();
    }

    public function Password2(){

    }






}
